
<div class="pageContent">


	<form method="post" action="__URL__/update/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="{$vo.id}" />
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>商品编号：</label>
				<input type="text" name="commodity_id" class="required" readonly="true" value="{$vo.commodity_id}" />
			</div>
            <div class="unit">
                <label>限量类型：</label> 
				<?php if($vo['limit_type']==1)echo '普通';elseif($vo['limit_type']==2)echo '抢购';?>
            </div>
			<div class="unit">
				<label>初始限量：</label>
				<input type="text" name="limit_num" class="required" readonly="true" value="{$vo.limit_num}" />
			</div>
			<div class="unit">
				<label>剩余数量：</label>
				<input type="text" name="left_num" class="required" readonly="true" value="{$vo.left_num}" />
			</div>
			<div class="unit">
				<label>状态：</label><?php if($vo['status']==0)echo '无效';elseif($vo['status']==1)echo '生效';?>
			</div>
			<div class="unit">
				<label>增减剩余数量：</label><input type="text" name="change_num" class="required" value="" />
				<span class="info">正数是增加，负数是减少</span>
			</div>
			<div class="unit">
				<label>编辑备注：</label><input type="text" name="memo" size="40" value="" />
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

